import request from "@/utils/request";

//新增项目
export const postProjectInfoSave = (data) => {
  return request.post("/project/info/save",data);
};

//按照主键删除项目
export const projectInfoRemove = (data) => {
  return request.post("/project/info/remove",data);
};

//按照主键修改项目
export const projectInfoUpdate = (data) => {
  return request.post("/project/info/update",data);
};

//按照主键查询项目
export const getProjectInfo = (id) => {
  return request.post("/project/info/"+ id);
};

//查询项目树结构
export const postProjectInfoTree = () => {
  return request.post("/project/info/tree");
};
